<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?><footer class="right_foot"><div class="right_f_l"><p><span>
    					&copy; <?php echo date('Y'); ?><a href="<?php $this->options->siteUrl(); ?>"><?php $this->options->title(); ?></a></span></p><?php if ($this->options->ZWingYan_birthday) : ?><p><span class="foot_one_line"><?php echo '<i class="ri-time-fill"></i> 本站已运行 ' . getBuildTime($this->options->ZWingYan_birthday,false,false); ?></span></p><?php endif; ?><p><?php if ($this->options->ZWingYan_icp) : ?><span class="foot_one_line"><?php echo ($this->options->ZWingYan_icp); ?></span><?php endif; ?><?php if ($this->options->ZWingYan_gwab) : ?><span class="foot_one_line">
            			丨 <?php echo ($this->options->ZWingYan_gwab); ?></span><?php endif; ?></p></div><div class="right_f_r">Theme by <?php _e('由 <a href="https://typecho.org">Typecho</a> 强力驱动'); ?>. Design by <a href="./" target="_blank" title="">Note</a></div></footer></section></div><script type="text/javascript" src="<?php $this->options->themeUrl('assets/js/jquery.min.js'); ?>" id="jquery.min.js"></script><script type="text/javascript" src="<?php $this->options->themeUrl('assets/js/prism.js'); ?>" id="prism.js"></script><script type="text/javascript" src="<?php $this->options->themeUrl('assets/js/js.js'); ?>" id="js.js"></script><script type="text/javascript" src="<?php $this->options->themeUrl('assets/js/view-image.min.js'); ?>" id="view-image.min.js"></script><script>
    window.ViewImage && ViewImage.init('.wznrys img');
</script><script type="text/javascript">
//点击加载更多
jQuery(document).ready(function($) {
    //点击下一页的链接(即那个a标签)
    $('.next').click(function() {
        $this = $(this);
        $this.addClass('loading').text('正在努力加载'); //给a标签加载一个loading的class属性，用来添加加载效果
        var href = $this.attr('href'); //获取下一页的链接地址
        if (href != undefined) { //如果地址存在
            $.ajax({ //发起ajax请求
                url: href,
                //请求的地址就是下一页的链接
                type: 'get',
                //请求类型是get
                error: function(request) {
                    //如果发生错误怎么处理
                },
                success: function(data) { //请求成功
                    $this.removeClass('loading').text('点击查看更多'); //移除loading属性
                    var $res = $(data).find('article'); //从数据中挑出文章数据，请根据实际情况更改
                    $('.posts-loop').append($res.fadeIn(500)); //将数据加载加进posts-loop的标签中。
                    var newhref = $(data).find('.next').attr('href'); //找出新的下一页链接
                    if (newhref != undefined) {
                        $('.next').attr('href', newhref);
                    } else {
                        $('.next').remove(); //如果没有下一页了，隐藏
                    }
                }
            });
        }
        return false;
    });
});
</script><script>
// 浏览器搞笑标题
var OriginTitle = document.title;
var titleTime;
document.addEventListener('visibilitychange', function () {
    if (document.hidden) {
        $('[rel="icon"]').attr('href', "/funny.ico");
        document.title = '╭(°A°`)╮ 页面崩溃啦 ~';
        clearTimeout(titleTime);
    }
    else {
        $('[rel="icon"]').attr('href', "/favicon.ico");
        document.title = '(ฅ>ω<*ฅ) 噫又好啦 ~' + OriginTitle;
        titleTime = setTimeout(function () {
            document.title = OriginTitle;
        }, 2000);
    }
});
</script><?php $this->footer(); ?></body></html>
